package com.xyh.transaction.mapper;

import com.xyh.transaction.entity.GoodsStatistic;
import com.xyh.transaction.entity.dto.StatisticDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GoodsStatisticMapper {


    void insert(GoodsStatistic goodsStatistic);

    List<GoodsStatistic> findAllByGoodsIds(List<Integer> goodsIds);

    List<GoodsStatistic> findAll(StatisticDto statisticDto);

    List<Integer> findByUserId(Integer userId);
}
